/* Глобальные значения */

* {
	margin: 0;
	padding: 0;
}

html {
	height: 100%;
	overflow: auto;
}

header, nav, section, article, aside, footer {
	display: block;
}

body {
	font: 10pt Arial, Tahoma, Verdana, sans-serif;
	height: 100%;
	overflow: auto;
}

a {
	color: blue;
	outline: none;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

/*p {
	margin: 0 0 18px
}*/

img {
	border: none;
}

input {
	vertical-align: middle;
}

#wrapper {
	width: 100%;
	min-width: 800px;
	height: 100%;
	min-height: 100%;
	height: auto !important;
	overflow: auto;
}

.left {
	text-align: left;
}

.center {
	text-align: center;
}

.right {
	text-align: right;
}

.nooverflow {
	overflow: hidden;
}

/* Шапка
-----------------------------------------------------------------------------*/
body > div > header {
	height: 110px;
}


body > div > header > table {
	width: 100%;
	color: white;

	background-image: url('../img/mosaic-blue.png');
	background-repeat: repeat;

	border-bottom: 2px solid orange;
}

body > div > header td.left {
	width: 200px;
	text-align: left;
	padding: 3px 3px 3px 6px;
}

body > div > header td.center {
	text-align: left;
	vertical-align: bottom;
	padding: 3px 3px 10px 3px;
}

body > div > header td.right {
	text-align: right;
	vertical-align: bottom;
	padding: 3px 6px 3px 3px;
}

body > div > header > table a {
	color: white;
	outline: none;
	text-decoration: none;
}

body > div > header > table a:hover {
	text-decoration: underline;
}

/* Форма логина */
aside#login-form-activator {
	position: absolute;
	top: 10px;
	right: 30px;
	cursor: pointer;
	text-decoration: none;
}

aside#login-form-name {
	position: absolute;
	top: 10px;
	right: 30px;
	cursor: pointer;
	text-decoration: none;
}

aside#login-form-activator:hover {
	text-decoration: underline;
}

aside#login-form-modal {
	position: absolute;
	top: 30px;
	right: 30px;
	padding: 10px;


	z-index: 9;
	background-image: url('../img/mosaic-blue.png');
	background-repeat: repeat;
	border: 1px solid orange;
}

aside#login-form-modal.close {
	display: none;
}

form#login-form {
	top: 3px;
	right: 6px;
}

form#login-form fieldset {
	border: 0;
}

/* Верхнее меню */
body > div > header nav ul {
	font: 11pt Arial, Tahoma, Verdana, sans-serif;
	list-style: none;
	padding: 0;
	margin: 0;
}

body > div > header nav li {
	margin: 0px 10px 0px 0px;
	float: left;
	position: relative;
}

body > div > header nav ul li a {
	display: block;
}

body > div > header nav li ul {
	display: none;
	position: absolute;
	width: 150px;
	top: 0;
	left: 0;
	margin: 0px;
	background-image: url('../img/mosaic-blue.png');
	background-repeat: repeat;
	z-index: 9;
	border: solid orange 1px;
}

body > div > header nav li ul > li {
	margin: 4px 6px 4px 6px;
}

body > div > header nav li>ul {
	top: auto;
	left: auto;
}

body > div > header nav li:hover ul, li.over ul {
	display: block;
}

body > div > header nav li:hover > a {
	display: block;
	color: orange;
	text-decoration: underline;
}

/* Крошки */
body > div > header .breadcrumbs {
	padding-left: 16px;
	vertical-align: center;
}


/* Основное содержимое */
/* Secunda - есть и правая и левая панель
-----------------------------------------------------------------------------*/
body > div > section {
	width: 100%;
	padding: 0 0 100px;
	height: 1%;
	position: relative;
}

body > div > section:after {
	content: '.';
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
}

body > div > section > div {
	width: 100%;
	float: left;
	overflow: hidden;
}

body > div > section > div > div {
	margin-left: 10px;
	margin-right: 10px;
	padding: 6px;
	
}

body > div > section.Secunda > div > div { /* Есть левая панель */
	margin-left: 210px;
}

body > div > section.Tertia > div > div { /* Есть правая панель */
	margin-right: 310px;
}

/* WestSide
-----------------------------------------------------------------------------*/
#WestSide {
	float: left;
	width: 200px;
	margin-left: -100%;
	position: relative;
}


/* EastSide
-----------------------------------------------------------------------------*/
#EastSide {
	float: left;
	margin-right: -3px;
	width: 300px;
	margin-left: -300px;
	position: relative;
}


/* Коврик
-----------------------------------------------------------------------------*/
body > footer {
	margin: -62px 0px 0px 0px;
	min-width: 800px;
	height: 60px;
	position: relative;
	color: white;

	border-top: 2px solid orange;
	background-image: url('../img/mosaic-blue.png');
	background-repeat: repeat;
}

body > footer table {
	width: 100%;
	height: 100%;
	border-collapse:collapse;
	border-spacing: 0px;

	font: 9pt Arial, Tahoma, Verdana, sans-serif;
}

body > footer td {
	vertical-align: bottom;
}

body > footer td.left {
	text-align: left;

	background-image:url('../img/gst-ch.png');
	background-repeat:no-repeat;
	background-position: left bottom;

	padding: 3px 6px 3px 85px;
}


body > footer td.right {
	text-align: right;
	padding: 3px 6px;
}

body > footer a {
	color: white;
	outline: none;
	text-decoration: none;
}

body > footer a:hover {
	text-decoration: underline;
}
